@mixin flex($direction: row) {
	display: flex;
	flex-direction: $direction;
}
@mixin ellipsis($line: 1) {
	overflow: hidden;
	text-overflow: ellipsis;
	@if $line==1 {
		white-space: nowrap;
	} @else {
		display: -webkit-box;
		-webkit-line-clamp: $line;
		-webkit-box-orient: vertical;
	}
}

/* Placeholder
 -------------------------- */
@mixin placeholder {
	&::-webkit-input-placeholder {
		@content;
	}

	&::-moz-placeholder {
		@content;
	}

	&:-ms-input-placeholder {
		@content;
	}
}
